Repository navigation
Conversation
GitHub rejects the `macos-14` runner label with "The configuration 'macos-14-arm64-us-default' is not supported". The default build matrix of `rust-cli-build.yml` and this repository's own `setup-rust` job therefore could not start on macOS. `macos-latest` is arm64 and keeps the `aarch64-apple-darwin` target working. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K3mkz6m3aZBokQhgvfjnSv
An optional `version` input applies `release-plz set-version` in the runner's checkout before building. Nothing is committed. This lets a prerelease build report a version that no commit carries. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K3mkz6m3aZBokQhgvfjnSv
`release-plz.yml` opens a release PR on pushes to the default branch. Merging it tags and drafts the release, builds the binaries, attaches them, and only then publishes. `release-plz-prerelease.yml` publishes a release candidate from a branch. Both work with `GITHUB_TOKEN` alone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K3mkz6m3aZBokQhgvfjnSv
The knope workflows are marked deprecated and keep their inputs. `prepare-prerelease.yml` and `rust-cli-prerelease.yml` no longer require `token`: they fall back to the job's own token, and the former no longer caps it at `contents: read`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K3mkz6m3aZBokQhgvfjnSv
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K3mkz6m3aZBokQhgvfjnSv
It lets consumers use a version of the tool that includes unmerged work. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K3mkz6m3aZBokQhgvfjnSv
Collaborator
Author
|
deferring widespread adoption of |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds reusable
release-plzworkflows that work withGITHUB_TOKENalone (no PAT, no GitHub App), and deprecates the knope ones.Design and assumptions:
agent-choices.md.Changes
fix:default build matrix and this repository'ssetup-rustCI job usemacos-latest; GitHub rejectsmacos-14.feat:rust-cli-build.ymlgets an optionalversioninput (appliesrelease-plz set-versionin the runner only).feat:release-plz.yml: on pushes to the default branch,release-plz release(tag and draft release), build from the tag, upload, then publish; thenrelease-plz release-pr.A release is never visible without its binaries, and nothing depends on a tag or release triggered workflow.
With
binset, it refuses to run unlessgit_release_draft = true.feat:release-plz-prerelease.yml: dispatch on a branch with an explicit1.2.3-rc.0version; builds as that version and publishes a prerelease.Nothing is pushed.
release-plz has no prerelease mode, so this does not use it to release.
fix:knope workflows marked deprecated, inputs unchanged.prepare-prerelease.ymlandrust-cli-prerelease.ymlnow maketokenoptional with agithub.tokenfallback (it was required, andcontents: readcapped it).docs:README sections and a knope migration guide.Compatibility: nothing is removed or changed incompatibly, so callers pinned to
@v0.4.xkeep working.Removing the knope workflows is a follow-up breaking release.
This repository's own release still uses knope.
Sibling design: rigetti/todo-curator#57 (inline equivalent); see the open questions in
agent-choices.mdfor the differences.Verified locally
yq); everyrun:block passesshellcheck.release-plz0.4.3:set-versionwith a changelog-less config,update, config parsing.Not verified
actionlint(not installed; download blocked).Untested:
release-plz releasewith a draft, the tag existing beforebuild,gh release uploadandedit --draft=false,gh release create --prerelease, theGITHUB_TOKENfallback in the prerelease knope workflows.Manual steps
pull_requestruns of release PRs, or pass the optionaltokensecret.🤖 Generated with Claude Code
https://claude.ai/code/session_01K3mkz6m3aZBokQhgvfjnSv